package com.meeting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.meeting.dto.RoomQueryDTO;
import com.meeting.dto.RoomStatusQueryDTO;
import com.meeting.entity.Rooms;
import com.meeting.vo.RoomsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RoomsMapper extends BaseMapper<Rooms> {

    List<Integer> listAllRooms(RoomQueryDTO roomQueryDTO);

    Page<RoomsVO> queryRoomsByIds(List<Integer> ids);

    List<Rooms> selectAll(RoomStatusQueryDTO dto);
}